/* 全局样式 */
.app-container {
    height: 100vh;
}

.sidebar {
    background-color: #304156;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1001;
}

.logo {
    height: 60px;
    line-height: 60px;
    text-align: center;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    background-color: #2b2f3a;
}

.header {
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 60px;
    border-bottom: 1px solid #e6ebf5;
}

.el-main {
    background-color: #f0f2f5;
    padding: 20px;
    margin-left: 200px;
    min-height: calc(100vh - 60px);
}

/* 过渡动画 */
.fade-transform-enter-active,
.fade-transform-leave-active {
    transition: all .3s;
}

.fade-transform-enter-from {
    opacity: 0;
    transform: translateX(-30px);
}

.fade-transform-leave-to {
    opacity: 0;
    transform: translateX(30px);
}

/* 菜单图标对齐 */
.el-menu-item .el-icon,
.el-sub-menu__title .el-icon {
    vertical-align: middle;
    margin-right: 5px;
    width: 24px;
}